#ifndef CLIENTDISCONNECTEDEVENT_H_
#define CLIENTDISCONNECTEDEVENT_H_

#include "NetworkEvent.h"

class ClientDisconnectedNetworkEvent : public NetworkEvent
{
public:
    ClientDisconnectedNetworkEvent();
    ClientDisconnectedNetworkEvent(const Header& header);
    virtual ~ClientDisconnectedNetworkEvent();

    virtual GameState* visitLobbyState(LobbyState* lobbyState) const;
    GameState* visitClientMenuState(ClientMenuState* clientMenuState) const;

    virtual void* getMessageBlob();
    virtual size_t getMessageBlobSize();

    struct Message
    {
        Header header;
    };

private:
    Message message;
};

#endif
